<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
  <title>房掌柜 - 新增酒店</title>
  <link rel="stylesheet" href="../../css/bootstrap.font.min.css"/>
  <link rel="stylesheet" href="../../css/forms.min.css"/>
  <link rel="stylesheet" href="../../css/style.css"/>
</head>
<body ng-controller="appCtrl">
<nav class="navbar navbar-inverse navbar-fixed-top to-nav">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
              data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
      </button>
      <a class="navbar-brand to-brand" href="#"><i class="fa fa-weixin fa-fw"></i>&nbsp;&nbsp;SZG 后台管理系统</a>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
             aria-expanded="false">
            <i class="fa fa-gear"></i>&nbsp;Mr Toma&nbsp;<span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
            <li><a href="#">个人信息</a></li>
            <li><a href="#">修改密码</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">退出系统</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- navbar-collapse -->
  </div>
</nav>
<!-- 菜单 start -->
<aside class="sidebar_left">
  <div class="sidebar_content">
    <ul class="nav">
      <li class="active">
        <a href="#" class="nav-link"><i class="fa fa-group"></i>产品管理</a>
        <ul class="link-lop">
          <li><a href="javascript:">周边游</a></li>
          <li><a href="javascript:">国内游</a></li>
          <li><a href="javascript:">出境游</a></li>
          <li><a href="javascript:">赴台游</a></li>
        </ul>
      </li>
      <li><a href="#" class="nav-link"><i class="fa fa-wrench"></i>网站设置</a></li>
    </ul>
  </div>
</aside>
<!-- 菜单 end -->
<section class="content">
  <div class="con-wap">
    <!-- view start -->

    <ol class="breadcrumb border">
      <li><a href="#">产品管理</a></li>
      <li><a href="#">房掌柜</a></li>
      <li class="active">新增酒店</li>
    </ol>


    <ul class="nav nav-tabs app-tabs" role="tablist">
      <li><a href="fzg_index.html">新增酒店</a></li>
      <li class="active"><a href="javascript:">新增房型</a></li>
    </ul>
    <article class="panel panel-default border-no-t">
      <header class="panel-heading">
        <div class="row">
          <div class="col-sm-2">
            <div class="input-group">
              <span class="input-group-addon">酒店ID</span>
              <input type="text" class="form-control" placeholder="酒店ID" name="">
            </div>
          </div>
          <div class="col-sm-2">
            <div class="input-group">
              <span class="input-group-addon">城市</span>
              <input type="number" class="form-control" placeholder="城市" name="">
            </div>
          </div>
          <div class="col-sm-2">
            <div class="input-group">
              <span class="input-group-addon">酒店类型</span>
              <select class="form-control" name="" id="">
                <option value="">请选择</option>
                <option value="1">sdfsf</option>
              </select>
            </div>
          </div>
          <div class="col-sm-2">
            <div class="input-group">
              <span class="input-group-addon">酒店名称</span>
              <input type="text" class="form-control" placeholder="酒店名称" name="">
            </div>
          </div>
          <div class="col-sm-2">
            <div class="input-group">
              <span class="input-group-addon">酒店联系人</span>
              <input type="text" class="form-control" placeholder="酒店联系人" name="">
            </div>
          </div>
          <div class="col-sm-2">
            <button type="button" class="btn btn-warning w90">搜索</button>
          </div>
        </div>
      </header>

      <article class="panel-body">
        <table class="table table-bordered table-reserv no-m table-ithover" id="jdTable">
          <tr>
            <td data-id="jdID132112" class="active"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID134542"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID130002"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID131132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id=""><a href="javascript:">sd阿斯顿飞酒店</a></td>
          </tr>
          <tr>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
          </tr>
          <tr>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
            <td data-id="jdID132132"><a href="javascript:">sd阿斯顿飞酒店</a></td>
          </tr>
        </table>
      </article>
      <footer class="panel-footer">
        <nav class="clearfix">
          <ul class="pagination pull-right">
            <li>
              <a href="#" aria-label="Previous">
                <span aria-hidden="true">&laquo;</span>
              </a>
            </li>
            <li class="active"><a href="#">1</a></li>
            <li><a href="#">2</a></li>
            <li><a href="#">3</a></li>
            <li><a href="#">4</a></li>
            <li><a href="#">5</a></li>
            <li>
              <a href="#" aria-label="Next">
                <span aria-hidden="true">&raquo;</span>
              </a>
            </li>
          </ul>
        </nav>
      </footer>

    </article>

    <article class="panel panel-default">
      <article class="panel-heading">
        <button type="button" class="btn btn-default" data-toggle="modal" data-target="#inventAddModal">新增房型和价格</button>
        <button type="button" class="btn btn-default" data-toggle="modal" data-target="#editstockModal">批量修改库存</button>
        <button type="button" class="btn btn-default" data-toggle="modal" data-target="#editPriceModal">批量修改房价</button>
        <button type="button" class="btn btn-default" data-toggle="modal" data-target="#sjModal">批量上架</button>
        <button type="button" class="btn btn-default" data-toggle="modal" data-target="#xjModal">批量下架</button>
      </article>

      <article class="panel-body text-center">
        <button type="button" class="btn btn-default" ng-click="adh.prev()">上周</button>
        <button type="button" class="btn btn-warning" ng-click="adh.today()">今天</button>
        <button type="button" class="btn btn-default" ng-click="adh.next()">下周</button>
        <input type="text" class="form-control form_datetime w200 inline" placeholder="开始日期" id="adhdays">
      </article>

      <table class="table table-bordered invent-table">
        <thead>
        <tr>
          <th rowspan="2" class="border-b2">
            <p ng-bind="year"></p>
            <h3 class="no-m text-theme" ng-bind="month"></h3>
          </th>
          <th ng-repeat="d in datelist" ng-bind="d.week"></th>
        </tr>
        <tr>
          <td class="bg-glow" ng-repeat="d in datelist" ng-class="{'text-gray':d.dis}">{{d.i}} <small class="text-theme" ng-if="d.today">今天</small></td>
        </tr>
        </thead>

        <tbody ng-repeat="(fx,fname) in fangx">
          <tr>
            <td rowspan="2" ng-bind="fname"></td>
            <td ng-repeat="d in datelist">
              <label class="badge-btn">
                <small class="text-theme" ng-show="d[fx].sj">销售中 </small>
                <small class="text-theme" ng-hide="d[fx].sj">已下架 </small>
                <input type="checkbox" ng-model="d[fx].sj">
                <span ng-show="d[fx].sj">下架</span>
                <span ng-hide="d[fx].sj">上架</span>
              </label>
            </td>
          </tr>
          <tr>
            <td ng-repeat="d in datelist" ng-class="{'bg-e4': !d[fx].sj}">
              <p class="clearfix">
                <span class="pull-left" ng-show="d[fx].sz">双早</span>
                <span class="pull-left" ng-hide="d[fx].sz">单早</span>
                <span class="pull-right" ng-class="{'text-theme': d[fx].ym}">满</span>
              </p>
              <div class="displayt w100b text-theme mb10">
                <div class="cell">
                  <p class="no-m">底</p>
                  <span ng-bind="d[fx].d"></span>
                </div>
                <span class="cell rline"></span>
                <div class="cell">
                  <p class="no-m">卖</p>
                  <span ng-bind="d[fx].m"></span>
                </div>
              </div>
              <p class="no-m">{{d[fx].j}}/{{d[fx].y}}/{{d[fx].s}}</p>
              <small class="text-gray">(计划/已收/剩余)</small>
            </td>
          </tr>
        </tbody>

      </table>
      <footer class="panel-footer"></footer>
    </article>

    <div class="h360"></div>
    <!-- view end -->
  </div>
</section>


<!-- 新增房型和价格 -->
<div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" id="inventAddModal">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">新增房型和价格</h4>
      </div>
      <form action="#" id="inventAddForm">
        <div class="modal-body admin-form bg-glow">

          <!-- 录入房型信息 -->
          <div class="row">
            <aside class="col-sm-3">
              <div class="app-product-imgup">
                <div class="swiper-container">
                  <div class="swiper-wrapper">
                  </div>
                  <div class="swiper-pagination"></div>
                </div>
                <a href class="btn btn-default imgup-btn" id="imageUpbtn">上传预览图</a>
                <input type="hidden" name="images" value="1231">
              </div>
            </aside>
            <section class="col-sm-9 admin-form">
              <div class="section displayt w100b">
                <div class="cell w90 text-right">房型名称：</div>
                <div class="cell"><input type="text" class="gui-input" placeholder="房型名称"></div>
              </div>

              <div class="section displayt w100b">
                <div class="cell w90 text-right">床形：</div>
                <div class="cell">
                  <label class="select">
                    <select name="">
                      <option value="">yid</option>
                      <option value="1">Option 1</option>
                      <option value="2">Option</option>
                    </select>
                    <i class="arrow double"></i>
                  </label>
                </div>
                <div class="cell w90 text-right">其他：</div>
                <div class="cell"><input type="text" class="gui-input" placeholder="其他"></div>
              </div>

              <div class="section displayt w100b">
                <div class="cell w90 text-right">床宽：</div>
                <div class="cell">
                  <label class="select">
                    <select name="">
                      <option value="">yid</option>
                      <option value="1">Option 1</option>
                      <option value="2">Option</option>
                    </select>
                    <i class="arrow double"></i>
                  </label>
                </div>
                <div class="cell w90 text-right">其他：</div>
                <div class="cell"><input type="text" class="gui-input" placeholder="其他"></div>
              </div>

              <div class="section displayt w100b">
                <div class="cell w90 text-right">所在楼层：</div>
                <div class="cell"><input type="text" class="gui-input" placeholder="其他"></div>
                <div class="cell w90 text-right">窗户：</div>
                <div class="cell">
                  <label class="option option-primary ver12">
                    <input type="radio" name="line" value="1">
                    <span class="radio"></span>有</label>
                  <label class="option option-primary ver12">
                    <input type="radio" name="line" value="0">
                    <span class="radio"></span>无</label>
                </div>
              </div>

              <div class="section displayt w100b">
                <div class="cell w90 text-right">人数限制：</div>
                <div class="cell"><input type="text" class="gui-input" placeholder="其他"></div>
                <div class="cell w90 text-right">是否可加床：</div>
                <div class="cell">
                  <label class="option option-primary ver12">
                    <input type="radio" name="line" value="1">
                    <span class="radio"></span>是</label>
                  <label class="option option-primary ver12">
                    <input type="radio" name="line" value="0">
                    <span class="radio"></span>否</label>
                </div>
              </div>

              <div class="section displayt w100b">
                <div class="cell w90 text-right">上网方式：</div>
                <div class="cell">
                  <label class="option option-primary">
                    <input type="checkbox" name="payment">
                    <span class="checkbox"></span>无网络</label>
                  <label class="option option-primary">
                    <input type="checkbox" name="payment">
                    <span class="checkbox"></span>客房有线</label>
                  <label class="option option-primary">
                    <input type="checkbox" name="payment">
                    <span class="checkbox"></span>客房WI-FI</label>
                  <label class="option option-primary">
                    <input type="checkbox" name="payment">
                    <span class="checkbox"></span>公共WI-FI</label>
                </div>
              </div>

              <div class="section displayt w100b">
                <div class="cell w90 text-right">无烟房：</div>
                <div class="cell">
                  <label class="select">
                    <select name="">
                      <option value="">yid</option>
                      <option value="1">Option 1</option>
                      <option value="2">Option</option>
                    </select>
                    <i class="arrow double"></i>
                  </label>
                </div>
              </div>
            </section>
          </div>

          <div class="section">
            <label class="field prepend-icon">
              <textarea class="gui-textarea" name="comment" placeholder="备注"></textarea>
              <label class="field-icon"><i class="fa fa-comments"></i></label>
            </label>
          </div>

          <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">按周</a></li>
            <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">按日期</a></li>
          </ul>
          <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="home">
              <!-- 按周计算 -->
              <article class="panel border-no-t no-radius">
                <div class="panel-body">
                  <div class="displayt w100b mb15">
                    <span class="cell lh40 w90">起始日期</span>
                    <label class="cell">
                      <input type="text" name="from" class="gui-input form_datetime" placeholder="YYYY/MM/DD" readonly>
                    </label>
                    <span class="cell lh40 text-center">到</span>
                    <label class="cell">
                      <input type="text" name="from" class="gui-input form_datetime" placeholder="YYYY/MM/DD" readonly>
                    </label>
                  </div>
                  <div class="lh20">
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每天</label>
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每周日</label>
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每周一</label>
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每周二</label>
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每周三</label>
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每周四</label>
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每周五</label>
                    <label class="option option-primary">
                      <input type="checkbox" name="payment">
                      <span class="checkbox"></span>每周六</label>
                  </div>
                </div>
              </article>


            </div>
            <div role="tabpanel" class="tab-pane" id="profile">
              <article class="panel border-no-t no-radius">
                <div class="panel-body displayt w100b">
                  <div class="cell inline">
                    <div class="ca ci1"></div>
                  </div>
                  <div class="cell inline">
                    <div class="ca ci1"></div>
                  </div>
                  <input type="hidden" name="seld" id="ci1">
                  <ul class="cell list-group w160 invent-datelist" data-id="ci1"></ul>
                </div>
              </article>
            </div>

            <article class="panel no-radius">
              <table class="table table-bordered table-center border-b">
                <tr>
                  <th>房型</th>
                  <th>结算价</th>
                  <th>建议售价</th>
                  <th>报价说明</th>
                  <th>计划</th>
                </tr>
                <tr ng-repeat="n in roomlist">
                  <td>
                    <label class="select">
                      <select name="">
                        <option value="">yid</option>
                        <option value="1">Option 1</option>
                        <option value="2">Option</option>
                      </select>
                      <i class="arrow double"></i>
                    </label>
                  </td>
                  <td><input type="number" class="gui-input"></td>
                  <td><input type="number" class="gui-input"></td>
                  <td>
                    <label class="field prepend-icon">
                      <textarea class="gui-textarea text-table" name="comment" placeholder="报价说明"></textarea>
                    </label>
                  </td>
                  <td><input type="text" class="gui-input"></td>
                </tr>
              </table>
              <div class="text-center p20">
                <button type="button" class="btn btn-default" ng-click="roomlistAdd()"><i class="fa fa-plus fw"></i> 添加项</button>
              </div>
            </article>

          </div>

        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default w90" data-dismiss="modal">返回</button>
          <button type="button" class="btn btn-primary w90" id="saveinventAdd">保存</button>
        </div>
      </form>
    </div><!-- modal-content -->
  </div><!-- modal-dialog -->
</div><!-- modal -->


<!-- 批量修改库存 -->
<div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" id="editstockModal">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">批量修改库存</h4>
      </div>
      <form action="#" id="editstockForm">
        <div class="modal-body admin-form bg-glow">

          <article class="panel no-radius">
            <div class="panel-body displayt w100b">
              <div class="cell inline">
                <div class="ca ci3"></div>
              </div>
              <div class="cell inline">
                <div class="ca ci3"></div>
              </div>
              <input type="hidden" name="seld" id="ci3">
              <ul class="cell list-group w160 invent-datelist" data-id="ci3"></ul>
            </div>
          </article>

          <article class="panel no-radius">
            <table class="table table-bordered table-center">
              <tr>
                <th>选择房型</th>
                <th>库存变动情况</th>
                <th>变动数量</th>
              </tr>
              <tr>
                <td>
                  <label class="select">
                    <select name="kc">
                      <option value="">大床房</option>
                      <option value="1">Option 1</option>
                      <option value="2">Option</option>
                    </select>
                    <i class="arrow double"></i>
                  </label>
                </td>
                <td>
                  <label class="select">
                    <select name="kc">
                      <option value="">增加库存</option>
                      <option value="1">Option 1</option>
                      <option value="2">Option</option>
                    </select>
                    <i class="arrow double"></i>
                  </label>
                </td>
                <td><input type="number" class="gui-input"></td>
              </tr>
            </table>
          </article>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default w90" data-dismiss="modal">返回</button>
          <button type="button" class="btn btn-primary w90" id="editstockbtn">保存</button>
        </div>
      </form>
    </div><!-- modal-content -->
  </div><!-- modal-dialog -->
</div><!-- modal -->


<!-- 批量修改价格 -->
<div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" id="editPriceModal">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">批量修改价格</h4>
      </div>
      <form action="#" id="editPriceForm">
        <div class="modal-body admin-form bg-glow">

          <article class="panel no-radius">
            <div class="panel-body displayt w100b">
              <div class="cell inline">
                <div class="ca ci2"></div>
              </div>
              <div class="cell inline">
                <div class="ca ci2"></div>
              </div>
              <input type="hidden" name="seld" id="ci2">
              <ul class="cell list-group w160 invent-datelist" data-id="ci2"></ul>
            </div>
          </article>

          <article class="panel no-radius">
            <table class="table table-bordered table-center">
              <tr>
                <th>选择房型</th>
                <th>卖价</th>
                <th>底价</th>
              </tr>
              <tr>
                <td>
                  <label class="select">
                    <select name="kc">
                      <option value="">大床房</option>
                      <option value="1">Option 1</option>
                      <option value="2">Option</option>
                    </select>
                    <i class="arrow double"></i>
                  </label>
                </td>
                <td><input type="number" class="gui-input"></td>
                <td><input type="number" class="gui-input"></td>
              </tr>
            </table>
          </article>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default w90" data-dismiss="modal">返回</button>
          <button type="button" class="btn btn-primary w90" id="editPricebtn">保存</button>
        </div>
      </form>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->


<!-- 批量上架 -->
<div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" id="sjModal">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">批量上架</h4>
      </div>
      <form action="#" id="sjForm">
        <div class="modal-body admin-form bg-glow">

          <article class="panel no-radius">
            <div class="panel-body displayt w100b">
              <div class="cell inline">
                <div class="ca ci4"></div>
              </div>
              <div class="cell inline">
                <div class="ca ci4"></div>
              </div>
              <input type="hidden" name="seld" id="ci4">
              <ul class="cell list-group w160 invent-datelist" data-id="ci4"></ul>
            </div>
          </article>

        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default w90" data-dismiss="modal">返回</button>
          <button type="button" class="btn btn-primary w90" id="sjbtn">保存</button>
        </div>
      </form>
    </div>
  </div>
</div><!-- modal -->


<!-- 批量下架 -->
<div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" id="xjModal">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">批量下架</h4>
      </div>
      <form action="#" id="xjForm">
        <div class="modal-body admin-form bg-glow">

          <article class="panel no-radius">
            <div class="panel-body displayt w100b">
              <div class="cell inline">
                <div class="ca ci5"></div>
              </div>
              <div class="cell inline">
                <div class="ca ci5"></div>
              </div>
              <input type="hidden" name="seld" id="ci5">
              <ul class="cell list-group w160 invent-datelist" data-id="ci5"></ul>
            </div>
          </article>

        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default w90" data-dismiss="modal">返回</button>
          <button type="button" class="btn btn-primary w90" id="xjbtn">保存</button>
        </div>
      </form>
    </div>
  </div>
</div><!-- modal -->


<script src="../../lib/angular.min.js"></script>
<script src="../../lib/jquery.min.js"></script>
<script src="../../js/sea.js"></script>
<script src="../../js/main.js"></script>
<script>
  window.data = {
    jd:'xx方酒店',
    date: '2016/07/29',
    fangx:{
      jc:'基础房型',
      hh:'豪华商务房'
    },
    days: {
      '2016/07/29': {
        jc: {
          sj: true,
          sz: true,
          ym: true,
          d: 300,
          m: 8000,
          j: 10,
          y: 2,
          s: 8
        },
        hh:{
          sj: true,
          sz: true,
          ym: true,
          d: 200,
          m: 1000,
          j: 10,
          y: 2,
          s: 8
        }
      },
      '2016/07/31': {
        jc: {
          sj: false,
          sz: true,
          ym: true,
          d: 300,
          m: 8000,
          j: 10,
          y: 2,
          s: 8
        },
        hh:{
          sj: true,
          sz: true,
          ym: true,
          d: 200,
          m: 1000,
          j: 10,
          y: 2,
          s: 8
        }
      }
    }
  };

  seajs.use('fzg', function (cc) {
    cc.addHouse();
  });
</script>
</body>
</html>